﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Bot.DomainCollectionFormFields
{
    public class EntityCollectionFormFieldsDto
    {
        public EntityCollectionFormFieldsDto()
        {
        }

        [Required]

        public Guid Id { get; set; }

        [Required]
        
        public int SiteId { get; set; }   
        
        [Required]
        
        public Guid IntentId { get; set; }   
        
        [Required]
        
        public Guid EntityId { get; set; }   
        
        [Required]      
        public string FieldName { get; set; }   
        
        [Required]      
        public string EntityLabel { get; set; }   
        
        [Required]      
        public string FieldType { get; set; }   
        
        [Required]
        
        public bool IsRequired { get; set; }   
        
        [Required]
        
        public bool IsMasked { get; set; }   
                
        public string Options { get; set; }

        public Guid AnswerId { get; set; }

    }
}
